
define([
           "dojox/mobile/ScrollableView"
       ],

    function(ScrollableView){

        var mainView = new ScrollableView();
        mainView.domNode.className = "Application";

        return {
            auid: 0,
            interfaces: [],
            jsonRpcController: null,
            name: "NoName",
            mainView: mainView,

            setJsonRpcController: function(controller)
            {
                this.jsonRpcController = controller;
            },

            changeInterface: function(interface)
            {
                this.mainView.addChild(interface.mainContainer);
            }

        };
    }
);
